package com.cby.assist.kits.ui;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.cby.assist.kits.IKit;
import com.cby.assist.kits.R;
import com.cby.assist.kits.widget.recyclerview.AbsRecyclerAdapter;

/**
 * @description: MainKitsAdapter
 * @author: ChenBaoYang
 * @createDate: 2022/3/7 3:18 下午
 */
public class MainKitsAdapter extends AbsRecyclerAdapter<MainKitViewBinder, IKit> {


    public MainKitsAdapter(Context context) {
        super(context);
    }

    @Override
    protected MainKitViewBinder createViewHolder(View view, int viewType) {
        return new MainKitViewBinder(view);
    }

    @Override
    protected View createView(LayoutInflater inflater, ViewGroup parent, int viewType) {
        return inflater.inflate(R.layout.item_main_kit, parent, false);
    }
}
